home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
telecomm
/
bbs
/
tbbs093.lha
/
Util
/
Answer.doc
< prev
next >
Wrap
Text File
|
1994-06-21
|
2KB
|
76 lines
If you don't want to use a mailer to answer your modem and launch the BBS,
you can use this simple answering program to do this. The command line
options are the following:
-d<device name> (default: serial.device)
Sets the device to monitor.
-u<unit> (default: 0)
Sets the unit of the device.
-b<baud> (default: use device settings)
If specified, causes Answer to set the baud rate to this when opening the
device. Note that Answer only supports locked baud rates!
-h<hangup string> (default: ~~~+++~~~ATH^M)
Sets the string that Answer sends to the modem to hang up. ~ causes a
delay and ^ can be used to include control codes, ^M (CR, ASCII 13) is
probably the only one you will need.
-r<delay> (default: 0)
Sets the number of ticks (1/50 s) to release the device for before sending
the hangup string. If set to 0, the device will not be released. This
will hangup quickly if your modem is set to disconnect when the DTR is
dropped.
-c<command> (No default, must be specified)
Sets the command to run when a connection has been made. If your command
line includes spaces, you should have this in quotes.
-i<init string> (default: ATZ^M~)
Sets the string to send to the modem for initialization. See -h for
special characters.
-a<answer string> (default: ATA~^M)
Sets the string to send to the modem when a 'RING' is received. See -h for
special characters.
-t<timeout> (default: 60)
Sets the number of seconds to wait for a connection after sending the
answer string to the modem.
-n (default: flow)
Indicates that flow control shouldn't be used. Previously SERF_7WIRE was
always set, this will disable it.
If you want to have a log of what Answer does, just redirect it somewhere,
log entries are written to the stdout.
History:
0.05 - Cleaned up output (hopefully)
- Calls SDCMD_SETPARAMS even if a baud rate is not specified
0.04 - ?
0.03 - Added -n option, now sets SERF_XDISABLED and SERF_RAD_BOOGIE